# @Time : 2023/1/4
# @Author : SDAJAVA

# 定义函数
def f1():
    print("我是一个函数")


def f2():
    a = 1
    b = 2
    c = a + b
    print(c)


def f3(a, b):
    c = a + b
    print(c)


def table():
    for i in range(1, 10):
        for j in range(1, i + 1):
            k = i * j
            print('{}*{}={:2d}'.format(j, i, k), end='\t')
        print('\n')


def buyIceCream():
    return "草莓冰激凌"


# 调用函数
f1()
f2()
f3(10, 20)
table()

food = buyIceCream()
print(food)

